package com.ysh.ioc.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    private String name;
    private Integer age;

    /*public Student(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public Student() {
    }*/
}
